package com.kerrykidz.filemanagement.dao.model;

import java.io.Serializable;
import java.util.Date;

import com.kerrykidz.workflow.vo.WorkflowVo;
import com.rdp.framework.core.model.MyBatisSuperModel;
import com.rdp.framework.exception.RDPException;
import com.rdp.util.time.DateFormatUtil;

public class CarCareFormEntity  extends MyBatisSuperModel implements Serializable{
    /** 
	* 
	 */ 
	private static final long serialVersionUID = 1L;
	private String pkCareformId;
    private String fkMemId;
    private String fkFlowinstId;
    private String status;
    private String careType;
    private String channel;
    private String cusName;
    private String tel;
    private String mobile;
    private String comments;
    private String fkBranId;
    private String applyBy;
    private Date applyTime;
    private String modiBy;
    private Date modiTime;
    private String userId;
    //business Column
    private String handleId;//制定处理人
    private String memName;//会员姓名
    private String createStartTime;//创建开始时间
    private String createEndTime;//创建结束时间
    private String publicCondition;//电话备注，姓名三个字段公用的模糊查询字段
    private String userName;//用户名称
    private String jobs;//用户的角色
    
    public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}


	private WorkflowVo workflowVo;
    public WorkflowVo getWorkflowVo() {
		return workflowVo;
	}
	public void setWorkflowVo(WorkflowVo workflowVo) {
		this.workflowVo = workflowVo;
	}
	public String getJobs() {
		return jobs;
	}
	public void setJobs(String jobs) {
		this.jobs = jobs;
	}
    public String getHandleId() {
		return handleId;
	}
	public void setHandleId(String handleId) {
		this.handleId = handleId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPublicCondition() {
		return publicCondition;
	}
	public void setPublicCondition(String publicCondition) {
		this.publicCondition = publicCondition;
	}
	public String getCreateStartTime() throws RDPException {
		if(this.getApplyTime()!=null){
			 return DateFormatUtil.convertDateToStr(this.getApplyTime(), "yyyy/MM/dd");
		}
		return createStartTime;
	}
	public void setCreateStartTime(String createStartTime) {
		this.createStartTime = createStartTime;
	}


	public String getCreateEndTime() {
		return createEndTime;
	}


	public void setCreateEndTime(String createEndTime) {
		this.createEndTime = createEndTime;
	}


	public String getMemName() {
		return memName;
	}


	public void setMemName(String memName) {
		this.memName = memName;
	}


	public String getPkCareformId() {
        return pkCareformId;
    }

    
    public void setPkCareformId(String pkCareformId) {
        this.pkCareformId = pkCareformId;
    }

    
    public String getFkMemId() {
        return fkMemId;
    }

    
    public void setFkMemId(String fkMemId) {
        this.fkMemId = fkMemId;
    }

    
    public String getFkFlowinstId() {
        return fkFlowinstId;
    }

    
    public void setFkFlowinstId(String fkFlowinstId) {
        this.fkFlowinstId = fkFlowinstId;
    }

    
    public String getStatus() {
        return status;
    }

    
    public void setStatus(String status) {
        this.status = status;
    }

    
    public String getCareType() {
        return careType;
    }

    
    public void setCareType(String careType) {
        this.careType = careType;
    }

    
    public String getChannel() {
        return channel;
    }

    
    public void setChannel(String channel) {
        this.channel = channel;
    }

    
    public String getCusName() {
        return cusName;
    }

    
    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    
    public String getTel() {
        return tel;
    }

    
    public void setTel(String tel) {
        this.tel = tel;
    }

    
    public String getMobile() {
        return mobile;
    }

    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    
    public String getComments() {
        return comments;
    }

    
    public void setComments(String comments) {
        this.comments = comments;
    }

    
    public String getFkBranId() {
        return fkBranId;
    }

    
    public void setFkBranId(String fkBranId) {
        this.fkBranId = fkBranId;
    }

    
    public String getApplyBy() {
        return applyBy;
    }

    
    public void setApplyBy(String applyBy) {
        this.applyBy = applyBy;
    }

    
    public Date getApplyTime() {
        return applyTime;
    }

    
    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    
    public String getModiBy() {
        return modiBy;
    }

    
    public void setModiBy(String modiBy) {
        this.modiBy = modiBy;
    }

    
    public Date getModiTime() {
        return modiTime;
    }

    
    public void setModiTime(Date modiTime) {
        this.modiTime = modiTime;
    }
}